<html>
<meta charset=utf-8>
<meta name=viewport content="width=device-width,initial-scale=1">
<head></head>
<body>

<button onclick="wxLogin()">微信登录</button>
  <script src="http://res.wx.qq.com/connect/zh_CN/htmledition/js/wxLogin.js"></script>
<script>
 function wxLogin(){
	 window.location.href=" https://open.weixin.qq.com/connect/qrconnect?"+
			 "appid=wx890410ff186d98b7&"+
			 "redirect_uri=https://www.likewawa.com/miaozhuapc/v1/login/h5login&"+
			 "response_type=code&"+
			" scope=snsapi_userinfo&"+
			 "state=STATE#wechat_redirect"
 }

</script>
</body>
</html>